.PHONY: boot kernel all clean

all: boot.img

DD := dd
MV := mv

boot:
	${MAKE} -C boot

kernel:
	${MAKE} -C kernel

boot.img: boot kernel
	sh make_img.sh

clean:
	${MAKE} -C boot clean
	${MAKE} -C kernel clean
	${MAKE} -C lib clean
	${MAKE} -C user clean
	${MAKE} -C user-simple clean
	-rm boot.img
